<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/3/21
  Time: 16:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="../static/js/jquery-1.8.2.min.js"></script>
</head>
<body>
<div>
    <h2 id="time"></h2>
</div>
<script>
    $(function() {

        $('#time').html('系统时间：' + new Date().toLocaleString())

        setInterval(function () {
            $('#time').html('系统时间：' + new Date().toLocaleString())
        }, 1000)

    })
</script>
</body>
</html>
